project(cast)

add_executable(${PROJECT_NAME}

        main.cpp Cast.cpp Cast.h)

cmake_path(GET CMAKE_CURRENT_SOURCE_DIR PARENT_PATH _parent_path)
cmake_path(GET _parent_path FILENAME _component)

install(TARGETS ${PROJECT_NAME}
        RUNTIME DESTINATION ${_component}
        COMPONENT ${_component}
        )